<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2023/4/1
  Time: 12:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<input type="button" value="返回" onclick="back()">
<h1 style="text-align: center">${paper.getTitle()}</h1><br>
<c:forEach items="${questions}" var="question">
    <div style="margin-left: 20px;margin-right: 20px">${question.getQuestion()}</div><br>
    <div style="margin-left: 20px;margin-right: 20px">答案:${question.getAnswer()}</div><br>
        <div>解析:${question.getParse()}</div><br>
</c:forEach>
</body>
<script>
    function back(){
        window.location="paper.jsp"
    }
</script>
</html>
